#!/usr/bin/python
# author Yu
# 2023年06月19日
class TransCode:
    def __init__(self):
        pass
    def decodes(self,data):
        data_bytes=data.encode('utf-8')
        return data_bytes
    def encodes(self,data_bytes):
        data=data_bytes.decode('utf-8')
        return data
